#define _CRT_SECURE_NO_WARNINGS
#include"heap.h"
#include<stdio.h>
int main()
{
	Heap hp;
	HeapInit(&hp);
	HeapPush(&hp, 50);
	HeapPush(&hp, 40);
	HeapPush(&hp, 30);
	HeapPush(&hp, 45);
	HeapPop(&hp);
	for (int i = 0; i < hp.size; i++)
	{
		printf("%d ", hp.a[i]);
	}
	return 0;
}